//
//  LBMeDetailOrderCell.m
//  loveBeen
//
//  Created by lc on 2016/11/22.
//  Copyright © 2016年 loveBeen. All rights reserved.
//

#import "LBMeDetailOrderCell.h"
#import "LBMeDetailOrderModer.h"
@interface LBMeDetailOrderCell ()
@property (weak, nonatomic) IBOutlet UILabel *lb_orderStatusTime;

@property (weak, nonatomic) IBOutlet UIButton *btn_statusDot;
@property (weak, nonatomic) IBOutlet UILabel *lb_progressStatus;
@property (weak, nonatomic) IBOutlet UILabel *lb_bottomLine;
@property (weak, nonatomic) IBOutlet UILabel *lb_statusDescription;
@property (weak, nonatomic) IBOutlet UILabel *lb_topLine;

@end

@implementation LBMeDetailOrderCell


-(void)setModel:(LBMeDetailOrderModer *)model {
    
    if (model.isFirst == YES) {
        self.lb_topLine.hidden = YES;
        self.btn_statusDot.selected = YES;
    }
    
    if (model.isLast == YES) {
        self.lb_bottomLine.hidden = YES;
    }
    _lb_orderStatusTime.text = model.OrderTime;
    _lb_progressStatus.text = model.OrderStatus;
    _lb_statusDescription.text = model.OrderDesc;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
